class CreateOrderExaminations < ActiveRecord::Migration
  def self.up
    create_table :order_examinations do |t|
      t.integer :examination_type_id
      t.integer :patient_data_id
      t.timestamps
    end
    
    OrderExamination.create :examination_type_id => 1,
      :patient_data_id => 1
  end

  def self.down
    drop_table :order_examinations
  end
end
